package cn.zn.modules.money.his.controller;

import cn.zn.modules.money.enums.MoneyTypeEnum;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Controller;
import org.springframework.ui.ModelMap;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
@RequestMapping("web/money/his/moneyinfosum")
public class MoneyInfoSumMvcController {
    @Value("${pz.init.year}")
    private String initYear;

    /**
     * 预算汇总页面
     *
     * @param model
     */
    @RequestMapping("/moneySum")
    public void moneySum(ModelMap model) {
        model.put("initYear", initYear);
        model.put("moneyTypes", MoneyTypeEnum.values());
    }
}
